package com.guigusuqi.act.service;

import com.guigusuqi.act.entity.ActPublish;
import com.baomidou.mybatisplus.extension.service.IService;
import com.guigusuqi.act.dto.ActPublishQuery;
import com.guigusuqi.commonutils.vo.Result;

/**
 * <p>
 * 发布活动管理 服务类
 * </p>
 *
 * @author suqi
 * @since 2022-03-31
 */
public interface ActPublishService extends IService<ActPublish>
{
    /**
     * 分页查询所有活动列表
     * @param current
     * @param limit
     * @return
     */
    Result pageActPublish(Long current, Long limit);

    /**
     * 条件查询活动列表
     * @param current
     * @param limit
     * @param actPublishQuery
     * @return
     */
    Result pageActPublishCondition(Long current, Long limit, ActPublishQuery actPublishQuery);

}
